\hypertarget{classace_1_1_graphics}{\section{クラス ace\-:\-:Graphics}
\label{classace_1_1_graphics}\index{ace\-::\-Graphics@{ace\-::\-Graphics}}
}
ace\-:\-:Graphicsに対する継承グラフ\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=4.294478cm]{d6/df2/classace_1_1_graphics}
\end{center}
\end{figure}
\subsection*{Public メソッド}
\begin{DoxyCompactItemize}
\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_texture2_d}{Texture2\-D} $>$ \hyperlink{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}{Create\-Texture2\-D} (const achar $\ast$path)
\begin{DoxyCompactList}\small\item\em テクスチャを生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_render_texture2_d}{Render\-Texture2\-D} $>$ \hyperlink{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}{Create\-Render\-Texture} (int32\-\_\-t width, int32\-\_\-t height, e\-Texture\-Format format)
\begin{DoxyCompactList}\small\item\em 描画先として指定可能なテクスチャを生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $>$ \hyperlink{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}{Create\-Shader2\-D} (const achar $\ast$shader\-Text, std\-::vector$<$ \hyperlink{classace_1_1_shader_variable_property}{Shader\-Variable\-Property} $>$ \&variable\-Properties)
\begin{DoxyCompactList}\small\item\em シェーダー(2\-D)を生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_material2_d}{Material2\-D} $>$ \hyperlink{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}{Create\-Material2\-D} (std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $>$ shader)
\begin{DoxyCompactList}\small\item\em マテリアル(2\-D)を生成する。 \end{DoxyCompactList}\item 
virtual e\-Graphics\-Type \hyperlink{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}{Get\-Graphics\-Type} () const =0
\begin{DoxyCompactList}\small\item\em 描画ランタイムの種類を取得する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_texture2_d}{Texture2\-D} $>$ \hyperlink{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}{Create\-Texture2\-D} (const achar $\ast$path)
\begin{DoxyCompactList}\small\item\em テクスチャを生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_render_texture2_d}{Render\-Texture2\-D} $>$ \hyperlink{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}{Create\-Render\-Texture} (int32\-\_\-t width, int32\-\_\-t height, e\-Texture\-Format format)
\begin{DoxyCompactList}\small\item\em 描画先として指定可能なテクスチャを生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $>$ \hyperlink{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}{Create\-Shader2\-D} (const achar $\ast$shader\-Text, std\-::vector$<$ \hyperlink{classace_1_1_shader_variable_property}{Shader\-Variable\-Property} $>$ \&variable\-Properties)
\begin{DoxyCompactList}\small\item\em シェーダー(2\-D)を生成する。 \end{DoxyCompactList}\item 
std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_material2_d}{Material2\-D} $>$ \hyperlink{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}{Create\-Material2\-D} (std\-::shared\-\_\-ptr$<$ \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $>$ shader)
\begin{DoxyCompactList}\small\item\em マテリアル(2\-D)を生成する。 \end{DoxyCompactList}\item 
virtual e\-Graphics\-Type \hyperlink{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}{Get\-Graphics\-Type} () const =0
\begin{DoxyCompactList}\small\item\em 描画ランタイムの種類を取得する。 \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected メソッド}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classace_1_1_graphics_a5dac39c1ff0a64208edfcc730ef08a3f}{virtual \hyperlink{classace_1_1_texture2_d}{Texture2\-D} $\ast$ {\bfseries Create\-Texture2\-D\-\_\-} (const achar $\ast$path)=0}\label{classace_1_1_graphics_a5dac39c1ff0a64208edfcc730ef08a3f}

\item 
\hypertarget{classace_1_1_graphics_ae05c6f357c6a1ae05cc9a261d922816b}{virtual \hyperlink{classace_1_1_render_texture2_d}{Render\-Texture2\-D} $\ast$ {\bfseries Create\-Render\-Texture2\-D\-\_\-} (int32\-\_\-t width, int32\-\_\-t height, e\-Texture\-Format format)=0}\label{classace_1_1_graphics_ae05c6f357c6a1ae05cc9a261d922816b}

\item 
\hypertarget{classace_1_1_graphics_af98276c3bdb526b0f2706a527d0a6ee5}{virtual \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $\ast$ {\bfseries Create\-Shader2\-D\-\_\-} (const achar $\ast$shader\-Text, \hyperlink{classace_1_1_shader_variable_property}{Shader\-Variable\-Property} $\ast$variable\-Properties, int32\-\_\-t variable\-Properties\-Count)=0}\label{classace_1_1_graphics_af98276c3bdb526b0f2706a527d0a6ee5}

\item 
\hypertarget{classace_1_1_graphics_ac0825786d212b5eef2fc5eea94ddbc3b}{virtual \hyperlink{classace_1_1_material2_d}{Material2\-D} $\ast$ {\bfseries Create\-Material2\-D\-\_\-} (\hyperlink{classace_1_1_shader2_d}{Shader2\-D} $\ast$shader)=0}\label{classace_1_1_graphics_ac0825786d212b5eef2fc5eea94ddbc3b}

\item 
\hypertarget{classace_1_1_graphics_a5dac39c1ff0a64208edfcc730ef08a3f}{virtual \hyperlink{classace_1_1_texture2_d}{Texture2\-D} $\ast$ {\bfseries Create\-Texture2\-D\-\_\-} (const achar $\ast$path)=0}\label{classace_1_1_graphics_a5dac39c1ff0a64208edfcc730ef08a3f}

\item 
\hypertarget{classace_1_1_graphics_ae05c6f357c6a1ae05cc9a261d922816b}{virtual \hyperlink{classace_1_1_render_texture2_d}{Render\-Texture2\-D} $\ast$ {\bfseries Create\-Render\-Texture2\-D\-\_\-} (int32\-\_\-t width, int32\-\_\-t height, e\-Texture\-Format format)=0}\label{classace_1_1_graphics_ae05c6f357c6a1ae05cc9a261d922816b}

\item 
\hypertarget{classace_1_1_graphics_af98276c3bdb526b0f2706a527d0a6ee5}{virtual \hyperlink{classace_1_1_shader2_d}{Shader2\-D} $\ast$ {\bfseries Create\-Shader2\-D\-\_\-} (const achar $\ast$shader\-Text, \hyperlink{classace_1_1_shader_variable_property}{Shader\-Variable\-Property} $\ast$variable\-Properties, int32\-\_\-t variable\-Properties\-Count)=0}\label{classace_1_1_graphics_af98276c3bdb526b0f2706a527d0a6ee5}

\item 
\hypertarget{classace_1_1_graphics_ac0825786d212b5eef2fc5eea94ddbc3b}{virtual \hyperlink{classace_1_1_material2_d}{Material2\-D} $\ast$ {\bfseries Create\-Material2\-D\-\_\-} (\hyperlink{classace_1_1_shader2_d}{Shader2\-D} $\ast$shader)=0}\label{classace_1_1_graphics_ac0825786d212b5eef2fc5eea94ddbc3b}

\end{DoxyCompactItemize}


\subsection{関数}
\hypertarget{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Material2\-D@{Create\-Material2\-D}}
\index{Create\-Material2\-D@{Create\-Material2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Material2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Material2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Material2\-D (
\begin{DoxyParamCaption}
\item[{std\-::shared\-\_\-ptr$<$ {\bf Shader2\-D} $>$}]{shader}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}


マテリアル(2\-D)を生成する。 


\begin{DoxyParams}{引数}
{\em shader} & シェーダー \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
マテリアル(2\-D) 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Material2\-D@{Create\-Material2\-D}}
\index{Create\-Material2\-D@{Create\-Material2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Material2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Material2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Material2\-D (
\begin{DoxyParamCaption}
\item[{std\-::shared\-\_\-ptr$<$ {\bf Shader2\-D} $>$}]{shader}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a02c93922909e44f1eea3010cadf2937b}


マテリアル(2\-D)を生成する。 


\begin{DoxyParams}{引数}
{\em shader} & シェーダー \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
マテリアル(2\-D) 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Render\-Texture@{Create\-Render\-Texture}}
\index{Create\-Render\-Texture@{Create\-Render\-Texture}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Render\-Texture}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Render\-Texture2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Render\-Texture (
\begin{DoxyParamCaption}
\item[{int32\-\_\-t}]{width, }
\item[{int32\-\_\-t}]{height, }
\item[{e\-Texture\-Format}]{format}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}


描画先として指定可能なテクスチャを生成する。 


\begin{DoxyParams}{引数}
{\em width} & 横幅 \\
\hline
{\em height} & 縦幅 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
テクスチャ 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Render\-Texture@{Create\-Render\-Texture}}
\index{Create\-Render\-Texture@{Create\-Render\-Texture}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Render\-Texture}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Render\-Texture2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Render\-Texture (
\begin{DoxyParamCaption}
\item[{int32\-\_\-t}]{width, }
\item[{int32\-\_\-t}]{height, }
\item[{e\-Texture\-Format}]{format}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a1fa4ebd4f6dd7cb9c71144cff0306519}


描画先として指定可能なテクスチャを生成する。 


\begin{DoxyParams}{引数}
{\em width} & 横幅 \\
\hline
{\em height} & 縦幅 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
テクスチャ 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Shader2\-D@{Create\-Shader2\-D}}
\index{Create\-Shader2\-D@{Create\-Shader2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Shader2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Shader2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Shader2\-D (
\begin{DoxyParamCaption}
\item[{const achar $\ast$}]{shader\-Text, }
\item[{std\-::vector$<$ {\bf Shader\-Variable\-Property} $>$ \&}]{variable\-Properties}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}


シェーダー(2\-D)を生成する。 


\begin{DoxyParams}{引数}
{\em shader\-Text} & シェーダーのコード \\
\hline
{\em variable\-Properties} & シェーダーで使用可能な外部入力可能な変数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
シェーダー(2\-D) 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Shader2\-D@{Create\-Shader2\-D}}
\index{Create\-Shader2\-D@{Create\-Shader2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Shader2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Shader2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Shader2\-D (
\begin{DoxyParamCaption}
\item[{const achar $\ast$}]{shader\-Text, }
\item[{std\-::vector$<$ {\bf Shader\-Variable\-Property} $>$ \&}]{variable\-Properties}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_aa86b68c0114f2a3a596c369d3599d734}


シェーダー(2\-D)を生成する。 


\begin{DoxyParams}{引数}
{\em shader\-Text} & シェーダーのコード \\
\hline
{\em variable\-Properties} & シェーダーで使用可能な外部入力可能な変数 \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
シェーダー(2\-D) 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Texture2\-D@{Create\-Texture2\-D}}
\index{Create\-Texture2\-D@{Create\-Texture2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Texture2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Texture2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Texture2\-D (
\begin{DoxyParamCaption}
\item[{const achar $\ast$}]{path}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}


テクスチャを生成する。 


\begin{DoxyParams}{引数}
{\em path} & パス \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
テクスチャ 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Create\-Texture2\-D@{Create\-Texture2\-D}}
\index{Create\-Texture2\-D@{Create\-Texture2\-D}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Create\-Texture2\-D}]{\setlength{\rightskip}{0pt plus 5cm}std\-::shared\-\_\-ptr$<${\bf Texture2\-D}$>$ ace\-::\-Graphics\-::\-Create\-Texture2\-D (
\begin{DoxyParamCaption}
\item[{const achar $\ast$}]{path}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{classace_1_1_graphics_a0d57a24a7e6413e475f862feb6c76472}


テクスチャを生成する。 


\begin{DoxyParams}{引数}
{\em path} & パス \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{戻り値}
テクスチャ 
\end{DoxyReturn}
\hypertarget{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Get\-Graphics\-Type@{Get\-Graphics\-Type}}
\index{Get\-Graphics\-Type@{Get\-Graphics\-Type}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Get\-Graphics\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual e\-Graphics\-Type ace\-::\-Graphics\-::\-Get\-Graphics\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}


描画ランタイムの種類を取得する。 

\begin{DoxyReturn}{戻り値}
種類 
\end{DoxyReturn}


\hyperlink{classace_1_1_graphics___imp___d_x11_a2bcd7e01fd800d30000f9e912950903d}{ace\-::\-Graphics\-\_\-\-Imp\-\_\-\-D\-X11}, と \hyperlink{classace_1_1_graphics___imp___g_l_a5c3d70b4e1708b72fc2891a90bf0530a}{ace\-::\-Graphics\-\_\-\-Imp\-\_\-\-G\-L}で実装されています。

\hypertarget{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}{\index{ace\-::\-Graphics@{ace\-::\-Graphics}!Get\-Graphics\-Type@{Get\-Graphics\-Type}}
\index{Get\-Graphics\-Type@{Get\-Graphics\-Type}!ace::Graphics@{ace\-::\-Graphics}}
\subsubsection[{Get\-Graphics\-Type}]{\setlength{\rightskip}{0pt plus 5cm}virtual e\-Graphics\-Type ace\-::\-Graphics\-::\-Get\-Graphics\-Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [pure virtual]}}}\label{classace_1_1_graphics_a58df9c2574e3c8818b081956547c57d9}


描画ランタイムの種類を取得する。 

\begin{DoxyReturn}{戻り値}
種類 
\end{DoxyReturn}


\hyperlink{classace_1_1_graphics___imp___d_x11_a2bcd7e01fd800d30000f9e912950903d}{ace\-::\-Graphics\-\_\-\-Imp\-\_\-\-D\-X11}, と \hyperlink{classace_1_1_graphics___imp___g_l_a5c3d70b4e1708b72fc2891a90bf0530a}{ace\-::\-Graphics\-\_\-\-Imp\-\_\-\-G\-L}で実装されています。



このクラスの説明は次のファイルから生成されました\-:\begin{DoxyCompactItemize}
\item 
Dev/ace\-\_\-cpp/core/\-Graphics/\-Common/ace.\-Graphics.\-h\item 
Dev/ace\-\_\-cpp/engine/ace.\-Core\-To\-Engine.\-h\end{DoxyCompactItemize}
